Skip to content

Replace httpx with httpx2 in dev deps#4

Merged
lesnik512 merged 1 commit into
mainfrom
replace-httpx-with-httpx2
Jun 3, 2026
Merged

Replace httpx with httpx2 in dev deps#4
lesnik512 merged 1 commit into
mainfrom
replace-httpx-with-httpx2

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

  • Swap httpxhttpx2 in the dev dependency group to resolve StarletteDeprecationWarning from starlette.testclient.TestClient (Starlette now prefers httpx2, Pydantic's stewarded continuation of httpx).
  • No source/test code changes — nothing in the repo imports httpx directly; tests/conftest.py uses starlette.testclient.TestClient only.
  • Bundles two pre-existing working-tree changes that were already staged locally: build backend migration from hatchling to uv_build, and enforcing 100% coverage via --cov-fail-under=100.

Test plan

  • uv lock regenerates cleanly (httpx 0.28.1 → httpx2 2.3.0; httpcore→httpcore2; +truststore; -certifi)
  • uv sync --all-groups installs new deps
  • uv run pytest — 6/6 pass, 100% coverage, no StarletteDeprecationWarning

🤖 Generated with Claude Code

Resolves StarletteDeprecationWarning from `starlette.testclient.TestClient`,
which now prefers httpx2 (Pydantic's continuation of httpx).

Also bundles two pre-existing working-tree changes:
- migrate build backend from hatchling to uv_build
- enforce 100% test coverage via --cov-fail-under=100

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 self-assigned this Jun 3, 2026
@lesnik512 lesnik512 merged commit 09a1d23 into main Jun 3, 2026
6 checks passed
@lesnik512 lesnik512 deleted the replace-httpx-with-httpx2 branch June 3, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant